'''
Created on 12.09.2009

@author: ankstoo
'''

from pygs.serviceProviderConfig import ImplementationConfig

'''
#                         "SecurityPersistence":
                                            ImplementationConfig(
                                                                 module = "pygs.services.security.securityPersistenceInMemory", 
                                                                 className = "SecurityPersistenceInMemory", 
                                                                 remote = False,
                                                                 remoteAddress = "", 
                                                                 params = {"MySQL.host": "127.0.0.1", "MySQL.port": 3307, "MySQL.user": "root", "MySQL.passwd": "root", "MySQL.db": "pygs"}),                         
'''
            
serviceProviderConfig = {"SecurityPersistence": 
                                            ImplementationConfig(
                                                                 module = "pygs.services.security.securityPersistenceInMySQLDB", 
                                                                 className = "SecurityPersistenceInMySQLDB", 
                                                                 remote = False,
                                                                 remoteAddress = "PYRO://10.27.11.43:7777/services", 
                                                                params = {"MySQL.host": "127.0.0.1", "MySQL.port": 3307, "MySQL.user": "root", "MySQL.passwd": "root", "MySQL.db": "pygs"}),
                         "Authentication":
                                            ImplementationConfig(
                                                                 module = "pygs.services.security.authenticationSecured", 
                                                                 className = "AuthenticationSecured", 
                                                                 remote = False,
                                                                 remoteAddress = "", 
                                                                 params = None), 
    
                         "Authorization":
                                            ImplementationConfig(
                                                                 module = "pygs.services.security.authorizationSimple", 
                                                                 className = "AuthorizationSimple", 
                                                                 remote = False,
                                                                 remoteAddress = "", 
                                                                 params = None)}
